package src.E14;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;

public class E14 {
    public static void main(String[] args) {
        HashMap map = new HashMap();
        map.put("202304010604","齐齐");
        map.put("2023040106602","王梦茹");
        map.put("202304010601","程远想");
        System.out.println(map);
        // 取出 Key值队列 用来
        Set ks  = map.keySet();
        Iterator it = ks.iterator();//抽象的key队列有
        while (it.hasNext()){
            Object obj = it.next();
//            System.out.println(obj);
            System.out.println("学号"+obj+":"+ map.get(obj));
        }
    }
}
